{template 'common/header'}
<div class="main">
	<form class="form-horizontal form" id="" action="" method="post">
		<div class="panel panel-default">
			<div class="panel-heading">
				广告设置
			</div>
			<div class="panel-body">
<!--			<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">引导关注素材链接</label>
					<div class="col-sm-9 col-xs-12">
						<input class="form-control" name="subscribe_url" type="text" value="{$settings['subscribe_url']}">
					</div>	
				</div>
				
-->				
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">广告图片</label>
					<div class="col-sm-9 col-xs-12">
						{php echo tpl_form_field_image('kuaidi_img',$settings['kuaidi_img'])}
					</div>
				</div>

		
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">广告标题</label>
					<div class="col-sm-9 col-xs-12">
						<input type="text" id="kuaidi_title" class="form-control span7" placeholder="" name="kuaidi_title" value="{$settings['kuaidi_title']}">
					</div>
				</div>
				
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">广告链接</label>
					<div class="col-sm-9 col-xs-12">
						<input type="text" id="kuaidi_url" class="form-control span7" placeholder="" name="kuaidi_url" value="{$settings['kuaidi_url']}">
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
					<div class="col-sm-9 col-xs-12">
					温馨提示：广告链接请加上http://，否则将可能出错
					</div>
				</div>

			</div>
		</div>

		<div class="form-group col-sm-12">
			<input name="token" type="hidden" value="{$_W['token']}" />
			<input type="submit" class="btn btn-primary col-lg-1" name="submit" value="提交" />
		</div>
	</form>
</div>

<script language='javascript'>
require(['jquery', 'util'], function($, u) {
	$(function() {

	});
});
</script>
{template 'common/footer'}
